package pathfinding
{
	import flash.geom.Vector3D;

	public class Portal
	{
		public var id:int;
		public var obszar:int;
		public var xyz:Vector3D;
		

		public var zamkniety:Boolean=false;
		public var F:Number=9999999;
		public var G:Number=0;
		public var H:Number=0;
		public var Rodzic:Portal;
		
		public function Portal(id:int,xyz:Vector3D)
		{
			this.id=id;
			this.xyz=xyz;
		}
		
		public function resterVal():void
		{
			F=G=H=0;
			zamkniety=false;
			Rodzic=null;
		}
	}
}